package com.training.food.service;

import com.training.food.Domain.Confirm;
import com.training.food.Domain.HisOrder;
import com.training.food.Domain.Release;
import com.training.food.pojo.User;

import java.util.List;


public interface ConfirmService {
    //接单操作
    boolean confirm(Confirm confirm, char power);
    //上架商品
    boolean addReleaseOrder(Release release, User user);
    //展示用户历史订单
    List<HisOrder> allOrderShow(User user,List<String> states);
}
